exports.UsernameExistsError = class extends Error {
  name = "custom";
  message = "UsernameExistsError";
  constructor(msg = "") {
    super();
    this.message = `${this.message}${msg}`;
  }
};

exports.EmailExistsError = class extends Error {
  name = "custom";
  message = "EmailExistsError";
  constructor(msg = "") {
    super();
    this.message = `${this.message}${msg}`;
  }
};

exports.PhoneExistsError = class extends Error {
  name = "custom";
  message = "PhoneExistsError";
  constructor(msg = "") {
    super();
    this.message = `${this.message}${msg}`;
  }
};

exports.GroupExistError = class extends Error {
  name = "custom";
  message = "GroupExistError";
  constructor(msg = "") {
    super();
    this.message = `${this.message}${msg}`;
  }
};

exports.RoleNotExistError = class extends Error {
  name = "custom";
  message = "RoleNotExistError";
  constructor(msg = "") {
    super();
    this.message = `${this.message}${msg}`;
  }
};

exports.LoginError = class extends Error {
  name = "custom";
  message = "LoginError";
  constructor(msg = "") {
    super();
    this.message = `${this.message}${msg}`;
  }
};

exports.ActionError = class extends Error {
  name = "custom";
  message = "ActionError";
  constructor(msg = "") {
    super();
    this.message = `${this.message}${msg}`;
  }
};

exports.PathError = class extends Error {
  name = "custom";
  message = "PathError";
  constructor(msg = "") {
    super();
    this.message = `${this.message}${msg}`;
  }
};

exports.MethodsError = class extends Error {
  name = "custom";
  message = "MethodsError";
  constructor(msg = "") {
    super();
    this.message = `${this.message}${msg}`;
  }
};
exports.StatusError = class extends Error {
  name = "custom";
  message = "StatusError";
  constructor(msg = "") {
    super();
    this.message = `${this.message}${msg}`;
  }
};

exports.ChildNodeExistError = class extends Error {
  name = "custom";
  message = "ChildNodeExistError";
  constructor(msg = "") {
    super();
    this.message = `${this.message}${msg}`;
  }
};

exports.NoChildNodeError = class extends Error {
  name = "custom";
  message = "NoChildNodeError";
  constructor(msg = "") {
    super();
    this.message = `${this.message}${msg}`;
  }
};

exports.MenuUsedError = class extends Error {
  name = "custom";
  message = "MenuUsedError";
  constructor(msg = "") {
    super();
    this.message = `${this.message}${msg}`;
  }
};

exports.RouteNameExistsError = class extends Error {
  name = "custom";
  message = "RouteNameExistsError";
  constructor(msg = "") {
    super();
    this.message = `${this.message}${msg}`;
  }
};
